package com.jzr.medical.controller.test;

import com.jzr.medical.service.RabbitMqService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/test/mq")
public class MQController {
    @Autowired
    private RabbitMqService rabbitMqService;

//    @PostMapping("/send")
//    public String send(String msg){
//        System.out.printf(msg);
//        rabbitMqService.invokeTaskEvent(msg);
//        return msg;
//    }
}
